package org.example.aigc.entity;

/**
 * 教师实体类
 */
public class Teacher {

    /**
     * id
     */
    private Long id;

    /**
     * user_id 对应的对象
     */
    private User user;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", user=" + user +
                '}';
    }
}
